package com.pine.app.module.security.core.session;

import com.pine.app.module.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * @author xiaoyuan
 * @create 2020/3/17
 **/
public interface AuthenticationSessionStore {

    void saveAuthtication(HttpServletRequest request, Authentication authentication);

    Authentication  loadAuthentication(HttpServletRequest request);

    void removeAuthtication(HttpServletRequest request);

}
